package com.online.teaching.module.admin.blog.domain.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import java.util.Date;

/**
 * @ClassName : GetBlogListVO  //类名
 * @Description :   //描述
 * @Author : YG  //作者
 * @Date: 2020-11-24 08:50  //时间
 */
@Data
public class GetBlogListVO {

    @ApiModelProperty(value = "博客id",required = false)
    private Integer blogId;//

    @ApiModelProperty(value = "所在的教课课程id",required = false)
    private Integer teachesId;//所在的教课课程id

    @ApiModelProperty(value = "博客标题",required = false)
    private String blogTitle;//博客标题

    @ApiModelProperty(value = "博客内容",required = false)
    private String blogContent;//博客内容

    @ApiModelProperty(value = "发布者id",required = false)
    private Integer publisherId;//发布者id

    @ApiModelProperty(value = "回复数量",required = false)
    private Integer commentNum;//回复数量

    @ApiModelProperty(value = "提交者名字,避免多表查询",required = false)
    private String publisherName;//提交者名字,避免多表查询

    @ApiModelProperty(value = "回复日期",required = false)
    private Date gmtCreate;//
}
